// index.js
Page({
  data: {
    products: [
      {
        id: '1',
        image: '/images/item1.png', // 商品图片路径
        name: 'Apple iPhone XS Max', // 商品名称
        description: '6.5英寸大屏，支持双卡。', // 商品描述
        price: 10000.00 // 商品价格
      },
      {
        id: '2',
        image: '/images/item2.png',
        name: '【Dole都乐】比利时Tru..',
        description: '好吃', 
        price: 20.02
      },
      {
        id: '3',
        image: '/images/item3.png',
        name: '测试商品A',
        description: 'AAAA', 
        price: 999999.00
      },
      {
        id: '4',
        image: '/images/item6.png',
        name: '测试商品B',
        description: 'BBBBB', 
        price: 40000000.00
      },
      {
        id: '5',
        image: '/images/item4.png',
        name: '测试商品C',
        description: 'cADADADA', 
        price: 928190.00
      },
      {
        id: '6',
        image: '/images/item5.png',
        name: '忘崽奶牛',
        description: '战斗肌也能用', 
        price: 192.00
      }

      // 更多商品数据...
    ]
  },
  goToMore: function() {
    // 点击“更多>”时的逻辑
    wx.navigateTo({
      url: '/pages/moreBB/index10', // 替换为你的“更多”页面路径
    });
  },

  onLoad(options) {

  },

})
